iShell Help
Tribeworks > iShell > Commands >
  Disk Cache
   
The Disk Cache command copies files to a project's specific cache folder on the user's hard drive. Accessing files from the cache is faster than from a CD/DVD ROM or the Internet. This command lets you load files before they are needed, and preserve them for future sessions. To access a cached file, call the original URL and iShell will automatically replace this media with the cached version.

Options

  • Kind
    • Pull: Deletes a specific file with a matching version from the cache.
    • Push: Copies a specific file to the cache and updates the version.
    • Purge: Deletes all the files in the cache with a matching version.
    • Resume: Resumes the cache and any files that might be partially copied.
    • Suspend: Suspends the cache and any files that might be being copied.
  • URL Argument: The URL for the file to be copied to the Cache. The cache knows what files it already has cached, so Pushing the same file twice is not an issue. Pushing the same file with different versions will only update the version.
  • Version: If a version is not used, then all cached files are automatically purged when the application quits. The version can be any string value.